//
//  YBLoginInputZjcViewController+LayoutConstraints.m
//  Nectar
//
//  Created by famer on 2023/11/7.
//  Copyright © 2023 asance. All rights reserved.
//

#import "YBLoginInputZjcViewController+LayoutConstraints.h"
#import "YBNextStepView.h"
#import "YBNavigationBar.h"

@implementation YBLoginInputZjcViewController (LayoutConstraints)

- (void)setLayoutConstraints{
    CGFloat width = self.view.frame.size.width;
    CGFloat leftMargin = [NSNumber adaptToWidth:16];
    
    self.navigationBar.frame = CGRectMake(0,  [UIView statusBarHeight], width, 64);
    
    self.textField.frame  = CGRectMake(leftMargin, self.navigationBar.bottom+16, width-leftMargin*2, 200);
    self.placeholderLabel.frame = CGRectMake(10, 10, self.textField.width-20, 30);
    
    self.nextStepView.frame = CGRectMake(leftMargin, self.textField.bottom+30, self.textField.width, 50);
}

@end
